Skip to main content link. Accesskey S
  • HCL Logo
  • HCL Notes and Domino wiki
  • THIS WIKI IS READ-ONLY. Individual names altered for privacy purposes.
  • HCL Forums and Blogs
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • API Documentation
Search
Community Articles > Lotus Domino > Domino admin > IBM i: Adding or removing a system environment variable to be used by the Domino server
  • Share Show Menu▼
  • Subscribe Show Menu▼

Recent articles by this author

IBM i: Adding or removing a system environment variable to be used by the Domino server

Process to add or remove a system environment variable that is affecting the operation of the Domino server.

Example CL script to end your Domino server, rename the log files and submit fixup, compact and updall against system databases

Example CL script to end your Domino server, rename the log files and submit fixup, compact and updall against system databases
Community articleIBM i: Adding or removing a system environment variable to be used by the Domino server
Added by ~Yoshi Reresamaroden | Edited by IBM contributor~Yoshi Reresamaroden on January 20, 2011 | Version 2
  • Actions Show Menu▼
expanded Abstract
collapsed Abstract
Process to add or remove a system environment variable that is affecting the operation of the Domino server.
Tags: IBM i, OS400, System i, environment variable, Domino troubleshooting
ShowTable of Contents
HideTable of Contents
  • 1 Steps to add a system environment variable
  • 2 Steps to remove a system environment variable so it will no longer be used by the Domino server
  • 3 Viewing the environment variables being used by the Domino server

Steps to add a system environment variable

 
1.  Add the environment variable using the ADDENVVAR command.  For example:

ADDENVVAR  ENVVAR(QIBM_BIND_RESOLVER_FLAGS)  VALUE('RES_NOCHECKNAME')  LEVEL(*SYS) 

2.  If you are accessing the system via a 5250 or "green screen" session, sign off and sign back on to allow your job to inherit the new environment variable.

3.  Start or restart your Domino server to recognize the new environment variable.


Steps to remove a system environment variable so it will no longer be used by the Domino server


1.  Remove the environment variable using the RMVENVVAR command.  For example:

RMVENVVAR ENVVAR(Java_Home) LEVEL(*SYS)

2.  If you are accessing the system via a 5250 or "green screen" session, sign off and sign back on to allow your job to start without the new environment variable in effect.

3.  Start or restart your Domino server to remove the environment variable.


Viewing the environment variables being used by the Domino server


The nsd tool can be used to see which environment variables are currently in use by the Domino server.  

1.  Access the Domino console and enter the following command:

load  nsd

2.  A nsd file will be created in the IBM_TECHNICAL_SUPPORT directory.  To view the file, from a 5250 or "green screen" session enter the following commands:

WRKDOMSVR

Take option 15 next to your Domino server.

Locate the nsd you just created and take option 5 to view the file.
 
3.  Review the environment variable listing in the nsd: 

Enter the word Environment (case-sensitive) into the Control  field and press F16 to search.

The list of environment variables will be listed under the "<@@ Environment -> User Environment @@>" heading
 
<@@ Environment -> User Environment @@>    
                                           
DEBUG_QNNINSDB=1                           
QIBM_BIND_RESOLVER_FLAGS=RES_NOCHECKNAME   
LANG=/QSYS.LIB/EN_US.LOCALE                
LANG=/QSYS.LIB/EN_US.LOCALE                                                              
PATH=/QIBM/PRODDATA/LOTUS/DOMINO852:/labserver/notes/data:/QIBM/USERDATA/LOTUS/NOTES     
Notes_SubprocessConfigFileName=                                                          
NOTES_BUILD_ID=Release 8.5.2|August 10, 2010      
 

Note:  All environment variables in use by the server will be in this list, not just system environment variables.  This list should be able to assist in determining if any new entries have been added or removed.

  • Actions Show Menu▼


expanded Attachments (0)
collapsed Attachments (0)
Edit the article to add or modify attachments.
expanded Versions (1)
collapsed Versions (1)
Version Comparison     
VersionDateChanged by              Summary of changes
This version (2)Jan 20, 2011, 3:04:12 PM~Yoshi Reresamaroden  IBM contributor
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedAbout
  • HCL Software
  • HCL Digital Solutions community
  • HCL Software support
  • BlogsDigital Solutions blog
  • Community LinkHCL Software forums and blogs
  • About HCL Software
  • Privacy
  • Accessibility